package com.gjm.demo.dao;

import com.gjm.demo.mapper.ArticleInfoMapper;
import com.gjm.demo.model.ArticleInfo;
import com.gjm.demo.service.ArticleInfoService;
import jakarta.annotation.Resource;
import jakarta.annotation.Resources;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class ArticleInfoDao {

    @Autowired
    private ArticleInfoMapper articleInfoMapper;

    @Autowired
    private ArticleInfoService articleInfoService;

    public Integer getUid() {
        return articleInfoService.getUid();
    }
}
